interface FormItemProps {
  id?: number;
  /** 用于判断是`新增`还是`修改` */
  title?: string;
  obtainRewardAchievementName: string;
  obtainRewardUnit: string;
  obtainRewardLevel: string;
  rewardName: string;
  rewardLevel: string;
  rewardUnit: string;
  rewardUnitList?: any[];
  winnerList?: any[];
  obtainDate: string;
  obtainRewardName: string;
  score: number;
  examineStatus?: number;
  examineDesc?: string;
  additionalFile?: string;
}
interface FormProps {
  formInline: FormItemProps;
  dataId?: number;
  userList?: any[];
}

interface RoleFormItemProps {
  username: string;
  nickname: string;
  /** 角色列表 */
  roleOptions: any[];
  /** 选中的角色列表 */
  ids: Record<number, unknown>[];
}
interface RoleFormProps {
  formInline: RoleFormItemProps;
}

export type { FormItemProps, FormProps, RoleFormItemProps, RoleFormProps };
